package org.butterfly.watchdog.task;

/**
 * function description
 *
 * @author drake
 * @since 2022/3/30
 */
public abstract class AbstractTask implements Task {
    @Override
    public void watch() {
        if (isBingo()) {
            doSuccess();
        } else {
            doFailure();
        }
    }
}
